#include <iostream>
#include "MyReactorServer.h"


using namespace Poco::Net;

int main() {
    unsigned short port = 7070;
    MyReactorServer myReactorServer;

    myReactorServer.setPort(port);
    myReactorServer.setTimeout(3);


    std::cout << "\nReactor: \"" << "\" starting..." << std::endl;
    myReactorServer.start();

    getchar();

    myReactorServer.stop();

    std::cout << "\nReactor: \"" << "\" stopped." << std::endl;
    return EXIT_SUCCESS;
}




